import fly from '../utils/request'
/**
 * 登录
 **/
export function login(data = {}) {
  return fly.request('/api/ssoLogin', data, {
    method: 'LOGINPOST'
  })
}

export function islogin(data = {}) {
  return fly.request('/api/isLogin', data, {
    method: 'POST'
  })
}

export function addIssue(data = {}) {
  return fly.request('/api/system/feedback/create', data, {
    method: 'JSON_POST'
  })
}
//解密电话号码
export function decryptPhone(data = {}) {
  return fly.request('/api/decryptPhone', data, {
    method: 'GET'
  })
}
//获取用户openid和sessionkey
export function wxSessionKey(data = {}) {
  return fly.request('/api/third/get/wxSessionKey', data, {
    method: 'GET'
  })
}
